package com.huicun.pay.wxpay.resultvo;

import lombok.Data;

/**
 * @Time: 2021/4/13 15:06
 * @Author: lidiwei
 */
@Data
public class UnifiedOrderV1Vo {
    static final String SUCCESS = "SUCCESS";
    private String nonce_str;
    private String sign;
    private String return_msg;
    private String mch_id;
    private String prepay_id;
    private String appid;
    private String trade_type;
    private String result_code;
    private String return_code;

    public boolean isSuccess(){
        return result_code.equals(SUCCESS) && return_code.equals(SUCCESS);
    }
}
